package hrms.service;


import javax.servlet.http.HttpServletRequest;

import hrms.entity.Admin;
import hrms.util.Result;

public interface AdminService extends Service<Admin>{
	public Result<Admin> check(String adminCode , String pwd);
	public Result<Object> changePwd(String oldPwd ,String newPwd ,Integer adminId);
	public Result<Object> addAdmin(Integer empId,String adminCode,String empName,String pwd,Integer roll);
	public Result<Object> deleteAdmin(String adminId ,HttpServletRequest req);
	public void outLog(HttpServletRequest req);
}
